package main

import (
	"net/url"
	"sbd_zwjy/handler"
	"strconv"
)

func main() {

	// content := "biz_content=%7B%22param%22%3A%5B%7B%22name%22%3A%22%E5%8D%95%E4%BD%8D%E6%88%96%E4%B8%AA%E4%BA%BA%22%2C%22link%22%3A%22like%22%7D%5D%2C%22page%22%3A1%2C%2" +
	// 	"2" +
	// 	"size%22%3A10%2C%22table%22%3A%22nyt_17%22%7D"

	CompanyHandler.InsterCompanyHandler()
	for i := 1; 1 < 10; i++ {
		content := "biz_content=%7B%22param%22%3A%5B%7B%22name%22%3A%22%E5%8D%95%E4%BD%8D%E6%88%96%E4%B8%AA%E4%BA%BA%22%2C%22link%22%3A%22like%22%7D%5D%2C%22page%22%3A" +
			strconv.Itoa(i) +
			"%2C%22size%22%3A10%2C%22table%22%3A%22nyt_17%22%7D"

		sign := handler.GetSignHandler(content)
		sign = url.QueryEscape(sign)
		handler.ReListHandler(sign, content)
	}

}
